home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / misc / vhlogger_v2.lzh / reorg.doc < prev    next >
Text File  |  1992-07-19  |  2KB  |  48 lines

  1. reorg        07/19/92
  2.  
  3.    This is version 1 of the 'reorg' program.  Part of the shareware
  4.    package VHlogger from Vincent Herried (KA8CTE).  Copyright 1992
  5.    Vincent Herried.  See the copyright files for additional information.
  6.  
  7.    Acknowledgments to Marcus J. Ranum for his B Tree package without which
  8.    I doublt that I would have ever written this package.  Please see
  9.    the btree copyright file.
  10.  
  11. Version history:
  12.  
  13.    V1.0  07/19/92 Initial public release.
  14.  
  15. Functions:
  16.  
  17.    The btree implimented with this package does not release unused space
  18.    from the files when you update a record.  If you make a lot of updates
  19.    and you think your data base files are getting too big, then this
  20.    program is for you.
  21.  
  22.  
  23. Useage from the CLI:
  24.    reorg -i input  -o output [-p nnnn]
  25.  
  26.  
  27.    The input data base named  input.ndx and input.dat is reorganized and copied
  28.    to output.ndx and output.dat.  In addition to removing the gas from the files
  29.    they btree structure is turned on its side in an attempt to 'optomize' the
  30.    tree structure.  So even if you haven't updated a lot of records, you may
  31.    wish to run reorg on a new data base that you have just increased the
  32.    number of records by more than 30 or 40 %.  It is supposed to give you
  33.    better access times.
  34.  
  35.    The -p option changes the internal index page size.    Don't use it
  36.    unless you wish to fiddle with performance and have looked at the
  37.    btree algorithms.
  38.  
  39.    It is suggested that the location of the input and output be on
  40.    different devices.  eg:  reorg -i df0:vhlog -o df1:vhlog
  41.  
  42.  
  43.  
  44. Vincent Herried (KA8CTE)
  45. 1688 Staffordshire RD.
  46. Columbus,OH 43229-2142
  47.  
  48.